package me.zhengjie.modules.management.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Author: chenxin.jiang
 * @Date: 2020/12/15
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MrAttention implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @NotBlank(message = "注意事项信息不能为空！")
    @ApiModelProperty("注意事项")
    private String attention;

    @ApiModelProperty("创建人ID")
    private String createUserId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp createDateTime;

    @ApiModelProperty("修改人ID")
    private String modifyUserId;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp modifyDateTime;
}
